<div ng-controller="appGeCtrl" class="clearfix script-content">
    <div class="wrapper-md">
        <div class="panel panel-default" ng-show="!showDetail">
            <div class="">
                <div class="search-box m-b-md">
                    <div class="legend">查询条件</div>
                    <div class="search-content">
                        <div class="form-group">
                            <label class="control-label">应用名：</label>
                            <input type="text" ng-model="searchByAppname" class="form-control input-sm" aria-controls="DataTables_Table_3">
                        </div>
                    </div>
                    <div class="search-btn">
                        <button class="btn btn-primary w-xs m-r" ng-click="getData(1)"><i class="fa fa-search"></i> 查询</button>
                        <button class="btn btn-primary w-xs m-r" ng-click="add()"><i class="fa fa-plus-circle"></i> 构建</button>
                    </div>
                </div>
                <div class="list-byc col-md-12">
                    <ul class="list-unstyled" >
                        <li class="list-li" ng-repeat="row in appList" ng-if="!isImageData">
                            <div class="col-sm-4 app-create-ge">
                                <div class="panel panel-default" style="margin-bottom: 20px;">
                                    <div class="panel-heading dfont-back">
                                        <span ng-bind="row.projectName"></span>
                                    </div>
                                    <div class="panel-detail">
                                        <div class="col-sm-12 app-create-in" style="cursor: pointer" ng-click="detail(row)">
                                            <div class="col-sm-12" style="margin-bottom: 10px;">
                                                <div class="col-sm-6" style="height: 30px;line-height: 30px">
                                                    <span class="sp-zhu">构建次数</span>
                                                </div>
                                                <div class="col-sm-6 text-left" style="height: 30px;line-height: 30px;">
                                                    <span class="net-num" ng-bind="row.buildTimes"></span>
                                                </div>
                                            </div>
                                            <div class="col-sm-12">
                                                <div class="col-sm-6" style="height: 20px;line-height: 20px">
                                                    <span class="health-font">最后构建时间</span>
                                                </div>
                                                <div class="col-sm-6 text-left" style="padding: 0px;height: 20px;line-height: 20px;">
                                                    <span class="health-p" ng-bind="row.lastBuildTime | date:'yyyy-MM-dd HH:mm:ss'"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="col-md-12" ng-if="isImageData">
                            暂无数据
                            <td class="td-nodata" colspan="10"></td>
                        </li>
                    </ul>
                    <div class="col-md-12 clearfix">
                        <div class="col-sm-6" style="padding:7px 15px;">
                            <div class="paginationTables_info">总共<span ng-bind="totalCount"></span>条, 每页<span
                                    ng-bind="param.rows"></span>条
                            </div>
                        </div>
                        <div class="col-sm-6 text-right">
                            <pagination boundary-links="true" total-items="totalCount" items-per-page="param.rows" max-size="8"
                                        ng-model="param.page" ng-change="getData(param.page)" previous-text="&lsaquo;"
                                        next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>